package com.github.dengmin.mysql.dao;

import com.github.dengmin.mysql.model.DatabaseConnection;
import com.github.dengmin.mysql.model.Pagination;

/**
 * @Author dengmin
 * @Created 2020/6/22 下午5:05
 */
public interface DatabaseConnectionDao {

    public Pagination<DatabaseConnection> pagination(int limit, int offset);

    public int save(DatabaseConnection connection);

    public DatabaseConnection getById(int resourceId);

    public void deleteById(Integer id);
}
